package com.young.dubbo.healtyprovider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.young.healty.api.service.DemoService;

@Service(retries = 0, timeout = 7 * 1000, loadbalance = "roundrobin")
public class DemoServiceImpl implements DemoService {
    @Override
    public String sayHello(String name) {
        System.out.println("生产者 = ");
        return "Hello" + name + ", I'm provider！";
    }
}
